/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ssi.mrms.dao;

import com.ssi.mrms.model.DataTableModel;
import com.ssi.mrms.model.RMcphdrModel;
import java.util.List;

/**
 *
 * @author jirapatjantsakool
 */
public interface ComplaintDao {

    public List<RMcphdrModel> findAll();

    public RMcphdrModel findById(Integer id);

    public void create(RMcphdrModel model) throws Exception;

    public boolean update(RMcphdrModel model);

    public boolean delete(RMcphdrModel model);
    
    public DataTableModel<RMcphdrModel> findDataTable(RMcphdrModel carSticker, int iDisplayStart, int iDisplayLength);

}
